﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace TeamNitro.Student
{
    public partial class Students_CurrentSubjects : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DBManager_Jowie db = (DBManager_Jowie)Session["Student"];
            DataTable dt1 = DBManager_Jowie.StudentCDS(db.AdminNumber);
            DataTable dt2 = DBManager_Jowie.StudentElective(db.AdminNumber);

            gvCDS.DataSource = dt1;
            gvCDS.DataBind();
            gvElective.DataSource=dt2;
            gvElective.DataBind();
        }
    }
}